.login-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: #fff;
}

.login-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 20px;
}

/* 应用图标样式 */
.app-icon {
  position: relative;
  margin-bottom: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-bubble {
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #1890ff;
  color: white;
  font-weight: bold;
}

.icon-bubble.large {
  width: 80px;
  height: 80px;
  font-size: 32px;
  z-index: 2;
}

.icon-bubble.small {
  width: 50px;
  height: 50px;
  font-size: 18px;
  margin-left: -20px;
  z-index: 1;
}

.plus {
  font-size: 40px;
  line-height: 1;
}

.dots {
  font-size: 20px;
  letter-spacing: -2px;
}

/* 登录表单容器 */
.login-form-container {
  width: 100%;
  max-width: 340px; /* 两个模式更一致的宽度 */
}

/* 输入字段组 */
.input-group {
  background-color: #fff;
  border: none;
  border-radius: 0;
  padding: 0;
  margin-bottom: 10px; /* 缩小输入区域与下方按钮的距离 */
  box-shadow: none;
  overflow: hidden;
}

.input-field {
  padding:  0; /* 进一步缩小上下内边距，缩短输入框之间的距离 */
  background-color: #fff;
  border-bottom: 1px solid #f0f0f0;
}

/* 验证码登录专用：放大两个输入行之间的距离 */
.sms-login .input-field {
  padding: 8px 0; /* 比账号登录更宽松一些 */
}

.sms-login .input-group {
  margin-bottom: 16px; /* 与按钮间适度留白 */
}

.input-field:last-child {
  border-bottom: none;
}

/* 输入行布局 */
.input-row {
  display: flex;
  align-items: center;
  padding: 0 12px; /* 缩小左右内边距 */
  gap: 8px; /* 缩小标签与输入框间距 */
}

/* 标签样式 */
.input-label {
  display: block;
  font-size: 16px;
  color: #2c3e50;
  font-weight: 600;
  min-width: 56px; /* 统一标签宽度，保证对齐 */
  letter-spacing: 0.5px;
}

/* 提示文字样式 */
.input-hint {
  font-size: 13px;
  color: #95a5a6;
  white-space: nowrap;
  font-weight: 400;
}

/* 分隔线 */
.input-divider {
  display: none;
}

/* 按钮组 */
.button-group {
  display: flex;
  flex-direction: column;
  gap: 10px; /* 缩小按钮之间的垂直间距 */
}

/* 自定义输入框样式 */
.am-input {
  background-color: transparent !important;
  border: none !important;
  padding: 0 !important;
  height: 36px;
}

.am-input::placeholder {
  color: #999 !important;
}

/* 移除表单项的默认样式 */
.am-form-item {
  margin-bottom: 0 !important;
}

.am-form-item-label {
  display: none !important;
}

/* 第三方登录区域样式 */
.third-party-login {
  margin-top: 32px;
  width: 100%;
}

.divider {
  position: relative;
  text-align: center;
  margin: 24px 0;
}

.divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: #e0e0e0;
}

.divider span {
  background: #f5f5f5;
  padding: 0 16px;
  color: #999;
  font-size: 14px;
  position: relative;
  z-index: 1;
}

.third-party-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

/* 仅保留 Gitee 登录样式 */

.gitee-login-btn:hover {
  background-color: #a0151a !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(199, 29, 35, 0.3);
  transition: all 0.2s ease;
}

/* 响应式设计 */
@media (max-width: 375px) {
  .login-content {
    padding: 30px 16px;
  }
  
  .app-icon {
    margin-bottom: 50px;
  }
  
  .icon-bubble.large {
    width: 70px;
    height: 70px;
    font-size: 28px;
  }
  
  .icon-bubble.small {
    width: 45px;
    height: 45px;
    font-size: 16px;
    margin-left: -18px;
  }
}

/* 响应式设计 */
@media (max-width: 768px) {
  .third-party-login {
    margin-top: 24px;
  }
  
  .divider {
    margin: 20px 0;
  }
  
  .third-party-buttons {
    gap: 10px;
  }
}

/* 导航栏样式 */
.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.nav-link {
  color: #1890ff;
  font-size: 14px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.nav-link:hover {
  background-color: rgba(24, 144, 255, 0.1);
}